/**  
* Filename		:	TStores.java  
* Description	:   
* Copyright		:   Copyright (c)2010-2011  
* Company		:   
* @author		:   yanglianbo 
* @version		:   1.0  
* Create at		:   Jun 4, 2011 2:15:52 PM  
*  
* Modification History:  
* Date			Author      	Version    	Description  
* ------------------------------------------------------------------  
* Jun 4, 2011     	yanglianbo    	1.0        	1.0 Version  
*/   
package com.zoomlion.example.dao.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
/**
 * @author 		:	yanglian
 * Description	:
 * Create at 	:  	Jun 4, 2011 2:15:52 PM
 */
@Entity
@Table(name = "TESTUSERS")
@Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
public class User {
	@Id
	@Column(name = "userId")
	@GeneratedValue(strategy=GenerationType.AUTO)	
	private Long userId;
	
	@Column(name = "userName")	
	private String userName;
	
	@Column(name = "stroesCode")	
	private String stroesCode;	
	
	@Column(name = "passWord")
	private String passWord;

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getStroesCode() {
		return stroesCode;
	}
	public void setStroesCode(String stroesCode) {
		this.stroesCode = stroesCode;
	}

	public String getPassWord() {
		return passWord;
	}
	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}
	
}
